package com.cdl.factory;

/**
 * @author cdl
 * @date 2025/10/5
 */
public interface Product {

    public void work();
}

class ConcreteProductA implements Product {
    public void work() {
        System.out.println("ConcreteProductA");
    }
}

class ConcreteProductB implements Product {
    public void work() {
        System.out.println("ConcreteProductB");
    }
}
